@cls
@mkdir xpi\chrome
@cd jar
@"C:\program files\7-zip\7z" a -x!"*svn" -tzip "foxtorrent.jar" * -r -mx=0
@del ..\xpi\chrome\foxtorrent.jar
@move foxtorrent.jar ..\xpi\chrome
@cd ..
@cd xpi
@"C:\program files\7-zip\7z" a -x!"*svn" -tzip "foxtorrent.xpi" * -r -mx=9 
@move "foxtorrent.xpi" ..\release
@cd ..
@echo .
@echo .
@echo .
@echo WARNING: This windows build.bat script is only used for debugging.. it builds a broken mac and linux release due to executable permission not being set.
@echo .
@pause